﻿using System;
using System.Collections.Generic;
using System.Text;
using IDAL.RF.PowerTest;
using Model.RF.PowerTest;

namespace BLL.RF.PowerTest
{
    public class PowerTestStatistics : BaseService<PowerTestStatisticsInfo>
    {
        private static readonly IPowerTestStatistics dal = DALFactory.DataAccess.CreatePowerTestStatistics();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<PowerTestStatisticsInfo> GetPowerTestStatisticsbyDT(DateTime starttime, DateTime stoptime)
        {
            return dal.GetPowerTestStatisticsbyDT(starttime, stoptime);
        }
    }
}
